package com.corpcredit.webapp.action;

import java.io.Serializable;
import java.util.List;

import com.corpcredit.webapp.action.BasePage;
import com.corpcredit.model.PdxmfsMs;
import com.corpcredit.service.GenericManager;

public class PdxmfsMsList extends BasePage implements Serializable {
    private GenericManager<PdxmfsMs, Long> pdxmfsMsManager;

    public void setPdxmfsMsManager(GenericManager<PdxmfsMs, Long> pdxmfsMsManager) {
        this.pdxmfsMsManager = pdxmfsMsManager;
    }

    public PdxmfsMsList() {
        setSortColumn("id"); // sets the default sort column
    }

    public List getPdxmfsMss() {
        return sort(pdxmfsMsManager.getAll());
    }
}

